package xyz.chaobei.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.lang.Integer;

/**
 * 用户与角色关联实体类
 * @author mrc
 * @Date ${Date}
 */
@Data
@TableName("org_user_role")
public class OrgUserRoleEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId(value = "id_",type = IdType.AUTO)
    private Integer id;
    
    /**
     * 
     */
    @TableField("user_id_")
    private Integer userId;
    
    /**
     * 
     */
    @TableField("role_id_")
    private Integer roleId;
}
